package com.gt.wx.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.gt.wx.domain.WxAppConfig;
import com.gt.wx.mapper.WxAppConfigMapper;
import com.gt.wx.service.IWxAppConfigService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 微信配置Service业务层处理
 * 
 * @author fish
 * @date 2022-03-17
 */
@Service
@Slf4j
public class WxAppConfigServiceImpl extends ServiceImpl<WxAppConfigMapper, WxAppConfig> implements IWxAppConfigService
{
    @Autowired
    private WxAppConfigMapper wxAppConfigMapper;

    @Override
    public WxAppConfig getWxAppConfig() {
        return wxAppConfigMapper.selectById(1L);
    }
}
